package com.huxiu.net;

public class NetworkConstants {
    //    public static final String BASE_URL = "http://192.168.11.89/";
    //        public static final String BASE_URL = "http://192.168.11.165/";
//    public static final String BASE_URL = "http://test.app.api.huxiu.com/";
    public static final String BASE_URL = "http://app.api.huxiu.com/";

    //登录相关接口
    public static final String USER_URL = BASE_URL + "user";
    public static final String USER_LOGIN_URL = USER_URL + "/user_login";
    //注册相关
    public static final String GET_SMS_CAPTCHA_URL = USER_URL + "/get_sms_captcha";
    public static final String VALIDATE_MOBILE_URL = USER_URL + "/validate_mobile";//检测手机是否已经注册
    public static final String VALIDATE_USERNAME_URL = USER_URL + "/validate_username";//检测用户名是否正确
    public static final String USER_REGISTER_URL = USER_URL + "/user_register";//提交注册
    public static final String USER_BINDING_URL = USER_URL + "/user_binding";//绑定第三方


    public static final String OAUTH_LOGIN_URL = USER_URL + "/oauth_login";//检测是否绑定过第三方账户
    //首页相关接口
    public static final String ARTICLE_URL = BASE_URL + "article";


    public static final String ACTIONS_URL = BASE_URL + "actions";
    public static final String GET_FOCUS_ARTICLE_URL = ARTICLE_URL + "/get_focus_article";
    public static final String GET_FEED_ARTICLE_URL = ARTICLE_URL + "/get_feed_article";
    public static final String GET_ARTICLE_LIST_URL = ARTICLE_URL + "/get_article_list";
    public static final String GET_ARTICLE_BY_AID_URL = ARTICLE_URL + "/get_article_by_aid";
    public static final String ADD_FAVORITE_ARTICLE_URL = ACTIONS_URL + "/add_favorite_article";
    public static final String ZAN_URL = ACTIONS_URL + "/zan";


    //  评论文章相关
    public static final String GET_ARTICLE_COMMENT = ARTICLE_URL + "/get_article_comment";

    public static final String ADD_POST = ACTIONS_URL + "/add_post";

    public static final String ADD_POSTCOMMENT = ACTIONS_URL + "/add_postcomment";


    public static final String MESSAGE_URL = BASE_URL + "message";

    public static final String MY_SYSTEM_MESSAGE_LIST = MESSAGE_URL + "/my_system_message_list";


    // 个人中心评论
    public static final String MY_POST_LIST = USER_URL + "/my_post_list";
    public static final String MY_POSTCOMMENT_LIST = USER_URL + "/my_postcomment_list";


    //qcl个人中心相关/feedback
    public static final String FEEDBACK_URL = ACTIONS_URL + "/feedback";//提交反馈意见
    public static final String MY_FAVORITE_LIST_URL = USER_URL + "/my_favorite_list";//我的收藏带分类
    public static final String MY_FAVORITE_ARTICLE_URL = USER_URL + "/my_favorite_article";//我的收藏带分类

    //三方绑定
    public static final String GET_USER_BINDINFO_URL = USER_URL + "/get_user_bindinfo";//获取绑定信息

    //群组相关接口
    public static final String GROUP_URL = BASE_URL + "group";
    public static final String MY_THREAD_ALL_URL = GROUP_URL + "/my_thread_all";//话题列表
    public static final String MY_THREAD_CREATE_URL = GROUP_URL + "/my_thread_create";//我发表的话题
    public static final String MY_THREAD_COMMENT_URL = GROUP_URL + "/my_thread_comment";//我回复的话题
    public static final String MY_FORUM_ALL_URL = GROUP_URL + "/my_forum_all";//我的群组，群组列表
    public static final String FIND_THREAD_ALL_URL = GROUP_URL + "/find_thread_all";//发现页的话题
    public static final String FIND_FORUM_ALL_URL = GROUP_URL + "/find_forum_all";//发现页的群组
    public static final String FORUM_JOIN_URL = GROUP_URL + "/forum_join";//加入群组
    public static final String FORUM_QUIT_URL = GROUP_URL + "/forum_quit";//退出群组
    public static final String FORUM = GROUP_URL + "/forum";  //请求话题列表
    public static final String THREAD_ADD = GROUP_URL + "/thread_add";  //发布话题
    public static final String COMMENT_ADD = GROUP_URL + "/comment_add";


    public static final String THREAD = GROUP_URL + "/thread";  //话题页面

    public static final String THREAD_ZAN = GROUP_URL + "/thread_zan";
    public static final String THREAD_UNZAN = GROUP_URL + "/thread_unzan";


    public static final String FORUM_JOIN = GROUP_URL + "/forum_join";
    public static final String FORUM_QUIT = GROUP_URL + "/forum_quit";


    //我的收藏
    public static final String DELETE_FAVORITE_CATEGORY_URL = ACTIONS_URL + "/delete_favorite_category";
    public static final String UPDATE_FAVORITE_CATEGORY_URL = ACTIONS_URL + "/update_favorite_category";


}